package com.flyco.modules.ums.service;

import com.flyco.modules.ums.entity.UmsMemberLevelRights;
import com.flyco.modules.ums.entity.UmsMemberLevelBanner;
import com.flyco.modules.ums.entity.UmsMemberLevel;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 会员等级表
 * @Author: flyco
 * @Date:   2022-09-29
 * @Version: V1.0
 */
public interface IUmsMemberLevelService extends IService<UmsMemberLevel> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(UmsMemberLevel umsMemberLevel,List<UmsMemberLevelRights> umsMemberLevelRightsList,List<UmsMemberLevelBanner> umsMemberLevelBannerList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(UmsMemberLevel umsMemberLevel,List<UmsMemberLevelRights> umsMemberLevelRightsList,List<UmsMemberLevelBanner> umsMemberLevelBannerList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (Long id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
